import java.util.HashMap;

public class Test {
    public static void main(String[] args) {
//        PTHashbucket ptHashbucket = new PTHashbucket();
//        HashMap<Integer,String> hashMap = new HashMap<>();
//        ptHashbucket.put(1,11);
//        ptHashbucket.put(2,22);
//        ptHashbucket.put(3,33);
//        ptHashbucket.put(4,44);
//        ptHashbucket.put(5,55);
//        ptHashbucket.put(6,66);
//        ptHashbucket.put(7,77);
////        ptHashbucket.put(8,88);
//        ptHashbucket.put(11,11);
//        ptHashbucket.put(22,22);
//        System.out.println(ptHashbucket.getValue(32));
        RTHashbucket<Person,Integer> rtHashbucket=new RTHashbucket<>();
        Person person1=new Person("张三");
        Person person2=new Person("张三");
        rtHashbucket.put(person2,10);
        rtHashbucket.put(person1,20);
        System.out.println(rtHashbucket.getValue(person2));

    }
}
